package com.cskaoyan.controller;


import com.cskaoyan.bean.BaseRespVo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    //TODO: 1.添加 ResponseBody 2.添加 jackson依赖
    @RequestMapping("hello")
    public BaseRespVo hello(){
        System.out.println("处理该hello请求的500问题");
        return BaseRespVo.ok();
    }
}
